package com.gzist.elderlyserviceplatform.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 服务预约列表VO
 */
@Data
@Schema(description = "服务预约列表VO")
public class ServiceReservationVO {

    /**
     * 主键id
     */
    @Schema(description = "主键id")
    private String id;

    /**
     * 服务ID
     */
    @Schema(description = "服务 ID，关联 elderly_service 表的 id")
    private String serviceId;

    /**
     * 服务名称
     */
    @Schema(description = "服务名称")
    private String serviceName;


    /**
     * 预约人姓名
     */
    @Schema(description = "预约人姓名")
    private String userName;

    /**
     * 预约时间
     */
    @Schema(description = "预约时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime reservationTime;

    /**
     * 审核状态
     */
    @Schema(description = "审核状态")
    private String reviewStatus;

    /**
     * 审核意见
     */
    @Schema(description = "审核意见")
    private String reviewOpinion;

    /**
     * 紧急联系人电话
     */
    @Schema(description = "紧急联系人电话")
    private String emergencyContactPhone;

    /**
     * 服务地址
     */
    @Schema(description = "服务地址")
    private String serviceAddress;
}
